Bounds3D.LineSegmentIntersection Function

Returns a Vector3D. Finds the point at which a line through Pt1 and Pt2 intersects the bounding volume.

Syntax

result = Bounds3D.LineSegmentIntersection( Pt1, Pt2 )

Parameters

Pt1

Vector3D

Pt2

Vector3D

Return Value

Result

Vector3D

Notes

If the intersection point is not between Pt1 and Pt2, it returns Nil.